<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>设备信息</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="computerRoomController.do?doSetOpenTime" tiptype="3" >
		<input id="id" name="id" type="hidden" value="${computerRoom.id }"> 
		<table style=" " cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right" style="width:100px;">
						<label class="Validform_label">
							开始时间:
						</label>
					</td>
					<td class="value">
					    <input id="openTimeBegin" name="openTimeBegins" type="text" 
					    	value="<fmt:formatDate  value='${computerRoom.openTimeBegin}' pattern='yyyy-MM-dd HH:mm'/>"
					    	style="width: 120px" class="inputxt"  datatype="*">
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">开始时间</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							结束时间:
						</label>
					</td>
					<td class="value">
					    <input id="openTimeEnd" name="openTimeEnds" type="text" 
					    	value="<fmt:formatDate  value='${computerRoom.openTimeEnd}' pattern='yyyy-MM-dd HH:mm'/>"
					    	style="width: 120px" class="inputxt" datatype="*">
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">结束时间</label>
					</td>
				</tr> 
<!-- 				<tr> -->
<!-- 					<td align="right"> -->
<!-- 						<label class="Validform_label"> -->
<!-- 							机房地点: -->
<!-- 						</label> -->
<!-- 					</td> -->
<!-- 					<td class="value"> -->
<!-- 						<input type="text" name="openLocation" class="inputtxt" style="width: 120px"  -->
<%-- 							class="inputxt" datatype="*" value="${computerRoom.openLocation}"/> --%>
<!-- 						<span class="Validform_checktip"></span> -->
<!-- 						<label class="Validform_label" style="display: none;">机房地点</label> -->
<!-- 					</td> -->
<!-- 				</tr>  -->
			</table>
		</t:formvalid>
 </body>
 <script>
 	 
 $(document).ready(function(){
	 $("#openTimeBegin").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'});}); 
	 $("#openTimeEnd").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'});});  
 });
 	
 </script>
  <script src = "webpage/com/mengtian_tech/device_mgr/device/deviceType.js"></script>		
